package com.witdata.common.domain.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.*;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class CommunityDto {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    private String name;

    private String title;

    private String url;

    /**
     * 创建者
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long creator;
}
